home *** CD-ROM | disk | FTP | other *** search
- Path: news-feed.mci.newscorp.com!usenet
- From: pbe@pobox.com
- Newsgroups: comp.lang.c++,comp.lang.pascal.delphi.misc
- Subject: Re: C++ with Zapp vs. Delphi
- Date: 24 Jan 1996 04:40:19 GMT
- Organization: Phoenix Business Enterprises
- Message-ID: <4e4d7j$hun@klein.delphi.com>
- References: <4coar6$d4n@sun4.bham.ac.uk> <4coip7$69s@news1.usa.pipeline.com> <GK+N9LA3rQAxEwdx@dakal.demon.co.uk> <4e1i6h$v29@klein.delphi.com>
- NNTP-Posting-Host: slip162-66.bb.delphi.com
- X-To: pbe@pobox.com
- X-Mailer: SQUID
- X-Registration: $737961
-
- >OK here is the Delphi equiv:
- >(Not complete or syntactically correct, but you'll see my point)
- >
- >Type
- > TGenericList = class
- > Sort;
- > Compare(s1, s2); abstract;
- > end;
- > TStringList = class
- > Compare(s1, s2); override;
- > end;
- > TPictureList = class
- > Compare(s1, s2); override;
- > end;
- >
- >procedure TGenericList;
- >begin
- > ...
- > If Compare(s1, s2).... (will call DESCENDENT, since they override)
- > ...
- >end;
-
- oops, there should have been a .SORT on the end of that last procedure
- declaration....
- _
- We have two seasons in PA: Winter and Contsruction.
-
- +------------------------------------------------------------+
- |* Chad Z. Hower - phoenix@pobox.com |
- |* Consultant - Phoenix Business Enterprises |
- | pbe@pobox.com - http://pobox.com/~pbe |
- |* Principal Analyst Programmer - |
- | SCB Computer Technology Inc - czhower@eastman.com |
- |Physically in Church Hill, TN - Logically Not Sure |
- | **** My Opinions are my own, I don't steal them **** |
- +------------------------------------------------------------+
- >>SQUID - The ultimate database reader, and NO limits. #$737961
- **Special Compile: 1.033B (Beta)
-